home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 52
/
Amiga Format AFCD52 (Issue 136, May 2000).iso
/
-in_the_mag-
/
workbench
/
adf
/
adflibppc
/
demo
/
smakefile
< prev
next >
Wrap
Makefile
|
2000-03-05
|
640b
|
37 lines
# ADFLib Makefile for AmigaPPC platform
# modified Linux version, 1999 by Andreas R. Kleinert
LIBDIR=../Bin/AmigaPPC
LIBNAME=libadf.a
DEPEND=makedepend
CC=SCPPC
CFLAGS=
LN= ppc-amigaos-ld
LDLIBS= $(LIBDIR)/libadf.a LIB:scppc.a
EXES= unadf.elf
all: $(EXES)
run: $(EXES)
unadf -h
unadf -lrcs -v 1 ../../hd.adf
unadf.elf: unadf.o
$(LN) -r LIB:c_ppc.o unadf.o $(LDLIBS) LIB:end.o -o unadf.elf
Protect unadf.elf +e
Copy unadf.elf /Bin/AmigaPPC/ CLONE
unadf.o: unadf.c
$(CC) $(CFLAGS) unadf.c
clean:
rm *.o $(EXES) core newdev
depend:
$(DEPEND) -v -- $(CFLAGS) -- *.[ch]